package file

import (
	"time"

	"fmt"
)

type TimeSpanExceeded struct {
	end    time.Time
	cursor time.Time
}

func (e TimeSpanExceeded) Error() string {
	return fmt.Sprintf("%q exceeds timespan ending at %q", e.cursor, e.end)
}
